positive:
  values:
    - {}
    # expected empty values
    - internal:
        argocdImageUpdater:
          registries: []
        argocd:
          repositories: []
    # registry, but no repo
    - internal:
        argocdImageUpdater:
          registries:
            - name: reg1
              prefix: cr.example.com
              api_url: https://cr.example.com
              credentials: pullsecret:d8-delivery/reg1-credentials
        argocd:
          repositories: []
    # repo, but no registry
    - internal:
        argocdImageUpdater:
          registries: []
        argocd:
          repositories:
            - name: reg1
              username: user
              password: pwd
              project: default
              url: cr.example.com/my-project
    # multiple repos and registries
    - internal:
        argocdImageUpdater:
          registries:
            - name: reg1
              prefix: cr.example.com
              api_url: https://cr.example.com
              credentials: pullsecret:d8-delivery/reg1-credentials
            - name: reg2
              prefix: cr2.example.com
              api_url: https://cr2.example.com
              credentials: pullsecret:d8-delivery/reg2-credentials
        argocd:
          repositories:
            - name: reg1
              username: user
              password: pwd
              project: default
              url: cr.example.com/my-project
            - name: reg2
              username: user2
              password: pwd2
              project: other
              url: cr.example.com/my-project2
  configvalues:
    - {}
    - argocd:
        admin:
          enabled: false
    - https:
        mode: Disabled
    - https:
        mode: OnlyInURI
